package com.holyn.guofang.model.webhttp.wo;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Holyn on 2017/6/22.
 */

public class AreaWo implements Serializable {
    private static final long serialVersionUID = 11112222L;

    /**
     * status : 1
     * data : [{"id":1,"grade":1,"code":"01","name":"广 东 省"},{"id":2,"grade":1,"code":"02","name":"北 京 市"}]
     */

    private int status;
    private List<DataBean> data;
    private String err;

    public String getErr() {
        return err;
    }

    public void setErr(String err) {
        this.err = err;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * grade : 1
         * code : 01
         * name : 广 东 省
         */

        private int id;
        private int grade;
        private String code;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getGrade() {
            return grade;
        }

        public void setGrade(int grade) {
            this.grade = grade;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
